<div class="listing">
  <div id="submit_config">
      <div id="output_config">
        <h3> 1) Please select an output module </h3>
      </div>
      <div id="input_config">
        <h3> 2) Please select an input module </h3>
      </div>
  </div>



  <h4> Inputs </h4>
  <p>
    <% @inputs.each do |input| %>
      <p>
        <%= input.name %> | <%= link_to("Enable", :url => {:controller => "inputs", :action => "configure", :id => input.input_id}, :update => "input_config") %><br/>
        <div id="input-<%= input.input_id %>"></div>
      </p>
    <% end %>
  </p>

  <h4> Outputs </h4>
  <p>

    <% @outputs.each do |output| %>
      <p>
        <%= output.name %> | <%= link_to_remote("Enable", :url => {:controller => "outputs", :action => "configure", :id => output.output_id}, :update => "output_config") %><br/>
        <div id="output-<%= output.output_id %>"></div>
      </p>
    <% end %>

  </p>
</div>